<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>techforce</title> 
<script type="text/javascript">  //js定义一个函数
	function show(){
		alert("techforce");
	}
</script>
<style type="text/css">
	#container{
		border:1px solid #000;
		height:500px;
		width:200px;
		margin:30px 0 0 50px;
		padding:40px;
	}
</style>
</head>

<body>
	<div id="container">
		<form>
			<input type="text" value="输入文本">
			<input type="button" value="显示警告" onclick="show()">
		</form>
	</div>
</body>
</html>